const db=uniCloud.database()
exports.main = async (event, context) => {
	let {detail,picurls, videourl} = event;

	return await db.collection("article").add({
		posttime:Date.now(),
		picurls,
    videourl,
		...detail
	})
};
